package com.ykq.product.service.impl;

import com.ykq.Product;
import com.ykq.product.mapper.ProductMapper;
import com.ykq.product.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl implements ProductService {
    @Autowired
    private ProductMapper productMapper; //不需要关心 ----今天证明
    @Override
    public Product findById(Integer pid) {
        return productMapper.findById(pid);
    }
}
